package com.example.demo.mapper;

import com.example.demo.domain.Menu;
import com.example.demo.domain.Menu;
import com.example.demo.domain.Vo.MenuListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {
    public List<MenuListVo> selectMenu(Menu menu);

    public void  insertMenu(Menu menu);

    public List<Menu> getByUserId(Long userId);

    void updateMenuById(Menu menu);

    void delMenuById(long menuId);
}
